LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE := libjson-c

LOCAL_SRC_FILES := arraylist.c \
	debug.c \
	json_c_version.c \
	json_object.c \
	json_object_iterator.c \
	json_tokener.c \
	json_util.c \
	linkhash.c \
	printbuf.c \
	random_seed.c

LOCAL_EXPORT_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/..
LOCAL_CPPFLAGS := -Os -Wall -Wextra -std=C99
include $(BUILD_STATIC_LIBRARY)
